package com.web.accountingEntry.mapper;


import com.web.accountingEntry.entity.AccountingEntry;
import com.web.accountingEntry.entity.AccountingJournal;
import com.web.transaction.entity.Transaction;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface AccountingEntryMapper {

    List<Map<String,String>> getAccountingEntries();

    void addAccountingEntry(AccountingEntry ae);

    List<Map<String,String>> getAccountingEcharts(@Param("accountingItem") String accountingItem);

    List<String> getItem();

    List<AccountingJournal> searchFromAccountingTransaction(@Param("tran") Transaction tran);

}
